package io.renren.modules.gaokaobaobei.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.gaokaobaobei.entity.AgencyEntity;
import io.renren.modules.sys.entity.SysDeptEntity;

import java.util.List;
import java.util.Map;

/**
 * 我的招生代理
 *
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-11-05 09:50:02
 */
public interface AgencyService extends IService<AgencyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    int selectNumber(Map<String, String> params);

    void updateNumber(Map<String, String> params);

    Long selectPersonNumber(Map<String, String> map);

    Object selectSum(Map<String, String> map);

    int userCount();

    int performanceNumber(String type);

    int checkedNumber(String type);

    int userPerformanceNumber(Map map);

    int userCheckedNumber(Map map);

    String dailiNumber(Map map);

    List countOutstanding(String username);

    PageUtils getMyBaobeiList(Map<String, Object> params);

    List<SysDeptEntity> getNewUserTree();

    List<SysDeptEntity> getUserTree();

    void updateDaili(AgencyEntity agency);
}

